package cn.sciento.wechat.dto;

import java.util.List;

public class GetMenuConfigurationResultDTO {
  private MenuBean menu;
  
  private List<ConditionalmenuBean> conditionalmenu;
  
  public MenuBean getMenu() {
    return this.menu;
  }
  
  public void setMenu(MenuBean menu) {
    this.menu = menu;
  }
  
  public List<ConditionalmenuBean> getConditionalmenu() {
    return this.conditionalmenu;
  }
  
  public void setConditionalmenu(List<ConditionalmenuBean> conditionalmenu) {
    this.conditionalmenu = conditionalmenu;
  }
  
  public static class MenuBean {
    private int menuid;
    
    private List<ButtonBean> button;
    
    public int getMenuid() {
      return this.menuid;
    }
    
    public void setMenuid(int menuid) {
      this.menuid = menuid;
    }
    
    public List<ButtonBean> getButton() {
      return this.button;
    }
    
    public void setButton(List<ButtonBean> button) {
      this.button = button;
    }
    
    public static class ButtonBean {
      private String type;
      
      private String name;
      
      private String key;
      
      private List<?> sub_button;
      
      public String getType() {
        return this.type;
      }
      
      public void setType(String type) {
        this.type = type;
      }
      
      public String getName() {
        return this.name;
      }
      
      public void setName(String name) {
        this.name = name;
      }
      
      public String getKey() {
        return this.key;
      }
      
      public void setKey(String key) {
        this.key = key;
      }
      
      public List<?> getSub_button() {
        return this.sub_button;
      }
      
      public void setSub_button(List<?> sub_button) {
        this.sub_button = sub_button;
      }
    }
  }
  
  public static class ConditionalmenuBean {
    private MatchruleBean matchrule;
    
    private int menuid;
    
    private List<ButtonBeanX> button;
    
    public MatchruleBean getMatchrule() {
      return this.matchrule;
    }
    
    public void setMatchrule(MatchruleBean matchrule) {
      this.matchrule = matchrule;
    }
    
    public int getMenuid() {
      return this.menuid;
    }
    
    public void setMenuid(int menuid) {
      this.menuid = menuid;
    }
    
    public List<ButtonBeanX> getButton() {
      return this.button;
    }
    
    public void setButton(List<ButtonBeanX> button) {
      this.button = button;
    }
    
    public static class MatchruleBean {
      private int group_id;
      
      private int sex;
      
      private String country;
      
      private String province;
      
      private String city;
      
      private int client_platform_type;
      
      public int getGroup_id() {
        return this.group_id;
      }
      
      public void setGroup_id(int group_id) {
        this.group_id = group_id;
      }
      
      public int getSex() {
        return this.sex;
      }
      
      public void setSex(int sex) {
        this.sex = sex;
      }
      
      public String getCountry() {
        return this.country;
      }
      
      public void setCountry(String country) {
        this.country = country;
      }
      
      public String getProvince() {
        return this.province;
      }
      
      public void setProvince(String province) {
        this.province = province;
      }
      
      public String getCity() {
        return this.city;
      }
      
      public void setCity(String city) {
        this.city = city;
      }
      
      public int getClient_platform_type() {
        return this.client_platform_type;
      }
      
      public void setClient_platform_type(int client_platform_type) {
        this.client_platform_type = client_platform_type;
      }
    }
    
    public static class ButtonBeanX {
      private String type;
      
      private String name;
      
      private String key;
      
      private List<?> sub_button;
      
      public String getType() {
        return this.type;
      }
      
      public void setType(String type) {
        this.type = type;
      }
      
      public String getName() {
        return this.name;
      }
      
      public void setName(String name) {
        this.name = name;
      }
      
      public String getKey() {
        return this.key;
      }
      
      public void setKey(String key) {
        this.key = key;
      }
      
      public List<?> getSub_button() {
        return this.sub_button;
      }
      
      public void setSub_button(List<?> sub_button) {
        this.sub_button = sub_button;
      }
    }
  }
}
